<div ms-controller="tracking_add">
	<div class="location_box">
		<div class="return_title">
			<a class="return_button" ms-on-click="history"><img src="../img/icon_return.png"/></a>
            <a ms-on-click="load('home_cloud.html')">首页</a>
			<span>&gt;</span>
			<span>仓库管理</span>
			<span>&gt;</span>
			<a>{{operationName}}</a>
		</div>
	</div>
	<div class="table_content">
		<div class="cloud_in_scan width_300 noSelect">
			<span class="cloud_in_scan_title">运单号</span><input type="text" ms-on-keydown="tracking_add" id="trackingNumber" ms-duplex="trackingNumber" placeholder="将光标置于此处扫描运单号" />
			<span class="scan_num">{{successCount}}</span>
			<span ms-if="status==0" class="arrive_pay"><input type="checkbox" ms-duplex-checked="isCollect" id="isCollect" ms-on-change="changeIsCollect"><label for="isCollect">到付单</label></span>
			<div class="passer_info">
				<label>{{companyName}}</label>
				<label>{{companyPointShortName}}</label>
				<label>{{userName}}</label>
			</div>
		</div>
		<div class="cloud_in_order_info">
			<div class="order_info_items" ms-repeat="tracking_list">
				<div ms-if="el.status">
                    <span>运单号：<label class="color_green">{{el.data.trackingNumber}}</label></span>
                    <label>{{el.data.createTime| date("yyyy-MM-dd HH:mm")}}</label>
                    <label>{{el.data.address}}，{{el.data.creatorCompanyPointName}}，
                        <label class="color_green" ms-if="el.data.status==0">已入库</label>
                        <label class="color_green" ms-if="el.data.status==1">派件中</label>
                        <label class="color_green" ms-if="el.data.status==2">已签收</label>
                        <label class="color_green" ms-if="el.data.status==3">已返仓</label>
                        <label class="color_green" ms-if="el.data.status==4">已退件</label>
                        <label class="color_green" ms-if="el.data.status==5">再次派件</label>
                    </label>
                    <label>操作员：{{el.data.creatorName}}</label>
                </div>
                <div ms-if="!el.status">
					<span>运单号：<label class="color_red">{{el.data}}</label></span>
					<label>{{el.message}}，<label class="color_red">录入失败</label></label>
                </div>
			</div>
		</div>
		<audio/>
	</div>
</div>